<template>
  <div class="app">
    <button @click="$router.go(-1)">回退</button>
    <button @click="$router.go(1)">前进</button>
    <Banner></Banner>
    <!-- 路由视图渲染位置 -->
    <router-view></router-view>
    <div>
      
    </div>
  </div>
</template>

<script>
  import Banner from "./components/Banner"
  export default {
    name: "App",
    data(){
      return {

      }
    },
    methods:{

    },
    components:{
      Banner
    }

 }
</script>

<style lang="less" scoped>

</style>